package com.xiangxiangjd.kj.papersstar.bean;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author 肖守凯
 * @since 2021-01-21
 */
@Data
@TableName("answer")
@ApiModel(value="Answer对象", description="")
public class Answer extends Model<Answer> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "答案id")
    @TableId(value = "id",type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "试题id")
    @TableField("topic_id")
    private String topicId;

    @ApiModelProperty(value = "答案选项")
    @TableField("answer_key")
    private String answerKey;

    @ApiModelProperty(value = "选项值")
    @TableField("answer_value")
    private String answerValue;



    @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    private String updateTime;

    @TableField("answer_order")
    private String  answerOrder; //顺序





}
